import math

def triangle_area(base, height):  
    return 0.5 * base * height